package com.sakura.mall.product.spuInfoDesc.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.product.spuInfoDesc.domain.entity.SpuInfoDescEntity;
import com.sakura.mall.product.spuInfoDesc.domain.request.AddSpuInfoDescRequest;
import com.sakura.mall.product.spuInfoDesc.domain.request.UpdateSpuInfoDescRequest;
import com.sakura.mall.product.spuInfoDesc.domain.request.SpuInfoDescPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.product.spuInfoDesc.domain.vo.SpuInfoDescVo;

/**
 * spu信息介绍 service
 *
 * @author sakura
 */
public interface SpuInfoDescService extends IService<SpuInfoDescEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<SpuInfoDescVo> queryPage(SpuInfoDescPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddSpuInfoDescRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateSpuInfoDescRequest request);
}
